home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Haight-Ashbury in the Sixties
/
Haight-Ashbury in the Sixties (1996)(Rockument)(Disc 1 of 2)[Mac-PC].iso
/
mac
/
MAIN
/
TUNEIN
/
TURNON
/
SHARED.DIR
/
00554_Script_movieStep handlers
< prev
next >
Wrap
Text File
|
1995-05-31
|
2KB
|
50 lines
-- gMovieCount contains number of current movie in the playlist
-- gPlaylistMasterList is a list containing the entire playlist
-- AutoPlayMode is ON for autoplay active, OFF for autoplay inactive
-- gMainMovie contains movie and pathname back to main menu screen
-- J. Collins - added code to switch timeline button to tune in return
-- button when called from roll your own show. Modified tune in return code to
-- return to the roll your own section of tune in with custom playlist intact.
-- modified code to return to Turn On intro when playing the complete show from turn on
on goNextMovie
global gMovieCount, gPlaylistMasterList, AutoPlayMode,gMainMovie, searchShow, rolledShow, completeShow
if count (gPlaylistMasterList) > gMovieCount then
put getAt (gPlaylistMasterList, gMovieCount + 1) into nextMovie
go to movie nextMovie
set gMovieCount = gMovieCount + 1
else
if rolledShow = true then go to frame "RYO Return" of movie gMainMovie
if searchShow = true then go to frame "Search Return" of movie gMainMovie
if completeShow = true then go to frame "turn on return" of movie gMainMovie
set gMovieCount = 0
end if
end goNextMovie
-----
on goPreviousMovie
global gMovieCount, gPlaylistMasterList, AutoPlayMode,gMainMovie, searchShow, rolledShow, completeShow
if gMovieCount > 1 then
put getAt (gPlaylistMasterList, gMovieCount - 1) into previousMovie
go to movie previousMovie
set gMovieCount = gMovieCount - 1
else
if rolledShow = true then go to frame "RYO Return" of movie gMainMovie
if searchShow = true then go to frame "Search Return" of movie gMainMovie
if completeShow = true then go to frame "turn on return2" of movie gMainMovie
set gMovieCount = 0
end if
end goPreviousMovie
-----
on setAutoPlay
global AutoPlayMode
if AutoPlayMode = "OFF" then
set AutoPlayMode = "ON"
else
set AutoPlayMode = "OFF"
end if
end setAutoPlay